package cn.kgc.service;

import cn.kgc.entity.School;
import org.apache.ibatis.annotations.Param;

import java.util.List;

public interface SchoolService {
     List<School> getAllSchool(@Param(value = "page")Integer page,
                               @Param(value = "limit")Integer limit,
                               @Param(value = "schoolName") String schoolName);
     Integer getCount();
     Integer addSchool(School school);
     Integer updateStudentJson(School school);
     Integer deleteStudents(Integer schId);
     Integer delSchools(@Param("schId") String schId);
}
